package yf.mall.service;

import yf.mall.entity.TeamSaleEntity;
import yf.mall.vo.TeamSaleVo;
import com.yf.service.BaseService;

import java.io.InputStream;
import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * 月销业绩Service接口
 *
 * 
 * 
 * @date Wed Oct 27 14:46:14 CST 2021
 */
public interface TeamSaleService extends BaseService<TeamSaleEntity> {

    /************自动生成**************/
    List<TeamSaleVo> findVo(TeamSaleVo vo);

    TeamSaleVo getVo(Long id);

    int updateVo(TeamSaleVo vo);

    int saveVo(TeamSaleVo vo);

    void downLoad(HttpServletResponse response, List<TeamSaleVo> list);

    void upload(InputStream file);

    /***********BACK***********/


    /***********API***********/

    void saleAdd(Long userId, String orderNO, BigDecimal price);


}
